package com.cqust.icc.task5.service;


import com.cqust.icc.task5.domain.Customer;

import java.util.List;

/**
 * @author 张成
 * @version 1.0
 * @date 2022/4/15 8:47
 */
public interface ICustomerServices {
    /**
     * 查询customer信息
     *
     * @param CustomerId customerID
     * @return customer信息
     */
    public Customer selectCustomerById(Long CustomerId);

    /**
     * 查询customer列表
     *
     * @param Customer customer信息
     * @return customer集合
     */
    public List<Customer> selectCustomerList(Customer Customer);

    /**
     * 新增customer
     *
     * @param Customer customer信息
     * @return 结果
     */
    public int insertCustomer(Customer Customer);

    /**
     * 修改customer
     *
     * @param Customer customer信息
     * @return 结果
     */
    public int updateCustomer(Customer Customer);

    /**
     * 删除customer信息
     *
     * @param CustomerId customerID
     * @return 结果
     */
    public int deleteCustomerById(Long CustomerId);


}
